package com.dudy;

/**
 * @author <a href="mailto:zjw2023@163.com">zjw2023</a>
 * @version 1.0
 * @Description
 * @Since 2016/5/23
 */
public class MainTest {
    public static void main(String[] args) {
        SubjectObservable so = new SubjectObservable();
        Observer1 o1 = new Observer1();
        Observer2 o2 = new Observer2(so);
        so.addObserver(o1);
//        so.addObserver(o2);
//        so.setPrice(10.00);
        so.setInfo("changeName",null,null,10.00);
    }
}
